package com.emqx;

import lombok.Data;

import java.util.Date;

/**
 * @Author: chihaojie
 * @Date: 2019/5/30 17:22
 * @Version 1.0
 * @Note  通用消息格式
 */
@Data
public class MqttMessageDTO {


    //消息标识
    private String   msgIdentifier;
    //消息类型
    private String   msgType;
    //消息发送方
    private String   msgSender;
    //消息接收方
    private String   msgReceiver;
    //消息体
    private String   msgBody;
    //消息的发送状态
    private String   sendStatus;
    private Date sendTime;
    //消息的接收状态
    private String   receiveStatus;
    //消息的接收时间
    private String  receiveTime;




}
